package ar.com.ford.it.fullEconomics.facade;

import java.util.Collection;
import ar.com.ford.it.fullEconomics.exception.FullEconomicsException;
import ar.com.ford.it.fullEconomics.logic.WorkerFileLogic;
import ar.com.ford.it.fullEconomics.persistence.dto.Teesx01Intfsource;

public class WorkerFileFacade {



    /**
     * 
     * @param Type
     * @return
     * @throws FullEconomicsException
     */
    public Collection<Teesx01Intfsource> findIntfSourceByFlag(String[] type)
            throws FullEconomicsException {
    	WorkerFileLogic logic = new WorkerFileLogic();

        return logic.findIntfSourceByFlag(type);
    }
    
    /**
     * Guarda un nuevo fileconten
     * 
     * @param teesx01Intfsource
     * @param file
     * @param size
     * @param FullEconomicsWslxUser
     * @throws FullEconomicsException
     */
    public void createFileConten(Teesx01Intfsource teesx01Intfsource, byte[] file, Integer size)
            throws FullEconomicsException {
        
    	WorkerFileLogic logic = new WorkerFileLogic();

        logic.createFileConten(teesx01Intfsource, file, size);
    }
}
